| 1100 |
Is it is possible to exclude the non-working days when displaying the histogram using the exBarEffort for exHistOverAllocation type
|
| 1099 |
I display numbers in my chart, but the AddBar requires a date how can I add a bar
|
| 1098 |
I display numbers in the chart's header but do not want to get displayed negative numbers. How can i do that
// DateChange event - Occurs when the first visible date is changed. procedure TWinForm1.AxG2antt1_DateChange(sender: System.Object; e: System.EventArgs); begin with AxG2antt1 do begin Chart.FirstVisibleDate := TObject(0); set_ScrollPartEnable(EXG2ANTTLib.ScrollBarEnum.exHChartScroll,EXG2ANTTLib.ScrollPartEnum.exLeftBPart,False); end end; with AxG2antt1 do begin BeginUpdate(); with Chart do begin PaneWidth[False] := 0; NonworkingDays := 0; FirstVisibleDate := TObject(0); ToolTip := ''; with Level[0] do begin Label := '<%i%>'; ToolTip := '<%i%>'; end; UnitWidth := 24; end; EndUpdate(); end |
| 1097 |
How can I display numbers in the chart's header instead dates
|
| 1096 |
How can I create a bar that's not sizable, or can not be resized by default similar with milestone
|
| 1095 |
Is it possible to hide the non-working parts for items using the ItemNonworkingUnits, even if set the ShowNonworkingUnits, ShowNonworkingDates on False
|
| 1094 |
Is it possible to show the non-working parts for certain items, even if I hide the default non-working part
|
| 1093 |
How can I hide the non-working part of the chart
with AxG2antt1 do begin BeginUpdate(); with Chart do begin FirstVisibleDate := '1/1/2008'; PaneWidth[False] := 0; LevelCount := 2; ShowNonworkingUnits := False; ShowNonworkingDates := False; end; EndUpdate(); end |
| 1092 |
Is it possible to let users selects cells as in Excel
with AxG2antt1 do begin BeginUpdate(); FullRowSelect := EXG2ANTTLib.CellSelectEnum.exRectSel; SingleSel := False; ReadOnly := EXG2ANTTLib.ReadOnlyEnum.exReadOnly; MarkSearchColumn := False; ShowFocusRect := False; LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot; SelForeColor := Color.FromArgb(0,0,0); SelBackColor := Color.FromArgb(200,225,242); with Columns do begin Add('A'); with (Add('B') as EXG2ANTTLib.Column) do begin AllowSizing := False; Width := 24; end; with (Add('C') as EXG2ANTTLib.Column) do begin AllowSizing := False; Width := 24; Def[EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox] := TObject(1); PartialCheck := True; end; with (Add('D') as EXG2ANTTLib.Column) do begin AllowSizing := False; Width := 24; Def[EXG2ANTTLib.DefColumnEnum.exCellHasRadioButton] := TObject(1); end; end; with Items do begin h := InsertItem(Nil,Nil,'Group 1'); h1 := InsertItem(h,Nil,TObject(16)); CellValue[TObject(h1),TObject(1)] := TObject(17); h1 := InsertItem(h,Nil,TObject(2)); CellValue[TObject(h1),TObject(1)] := TObject(11); h1 := InsertItem(h,Nil,TObject(2)); ItemBackColor[h1] := $f0f0f0; CellValue[TObject(h1),TObject(1)] := TObject(9); ExpandItem[h] := True; h := InsertItem(Nil,Nil,'Group 2'); CellValueFormat[TObject(h),TObject(2)] := EXG2ANTTLib.ValueFormatEnum.exHTML; h1 := InsertItem(h,Nil,TObject(16)); CellValue[TObject(h1),TObject(1)] := TObject(9); h1 := InsertItem(h,Nil,TObject(12)); CellValue[TObject(h1),TObject(1)] := TObject(11); h1 := InsertItem(h,Nil,TObject(2)); CellValue[TObject(h1),TObject(1)] := TObject(2); ExpandItem[h] := True; SelectItem[h] := True; end; EndUpdate(); end |
| 1091 |
How can I hide a date from the chart view
with AxG2antt1 do begin BeginUpdate(); with Chart do begin FirstVisibleDate := '1/1/2008'; PaneWidth[False] := 0; LevelCount := 2; AllowInsideZoom := True; AllowResizeInsideZoom := False; InsideZoomOnDblClick := False; with InsideZooms do begin SplitBaseLevel := False; DefaultWidth := 0; Add('1/4/2008'); Add('1/5/2008'); Add('1/6/2008'); end; SelectLevel := 1; SelectDate['1/5/2008'] := True; end; EndUpdate(); end |
| 1090 |
Can the SchedulePDM displays and edit the working units for my bars
|
| 1089 |
Can the SchedulePDM displays the working units for my bars
// BarResizing event - Occurs when a bar is moving or resizing. procedure TWinForm1.AxG2antt1_BarResizing(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_BarResizingEvent); begin with AxG2antt1 do begin Items.SchedulePDM(e.item,TObject(e.key)); end end; with AxG2antt1 do begin BeginUpdate(); Items.AllowCellValueToItemBar := True; Columns.Add('Task'); (Columns.Add('Working') as EXG2ANTTLib.Column).Def[EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty] := TObject(258); with Chart do begin Bars.Add('Task:Split').Shortcut := 'Task'; FirstVisibleDate := '12/28/2000'; PaneWidth[False] := 96; AllowLinkBars := False; AllowCreateBar := EXG2ANTTLib.CreateBarEnum.exNoCreateBar; end; with Items do begin h1 := AddItem('Task 1'); AddBar(h1,'Task','1/2/2001','1/4/2001','',Nil); h2 := AddItem('Task 2'); AddBar(h2,'Task','1/2/2001','1/4/2001','',Nil); AddLink('L1',h1,'',h2,''); h3 := AddItem('Task 3'); AddBar(h3,'Task','1/2/2001','1/6/2001','',Nil); AddLink('L2',h2,'',h3,''); Link['L2',EXG2ANTTLib.LinkPropertyEnum.exLinkText] := 'FF'; Link['L2',EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos] := TObject(2); Link['L2',EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos] := TObject(2); h4 := AddItem('Task 4'); AddBar(h4,'Task','1/2/2001','1/4/2001','',Nil); AddLink('L3',h4,'',h3,''); ItemBar[0,'<*>',EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount] := TObject(True); SchedulePDM(FirstVisibleItem,''); end; EndUpdate(); end |
| 1088 |
Can the SchedulePDM keeps the working units for my bars
// BarResizing event - Occurs when a bar is moving or resizing. procedure TWinForm1.AxG2antt1_BarResizing(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_BarResizingEvent); begin with AxG2antt1 do begin Items.SchedulePDM(e.item,TObject(e.key)); end end; with AxG2antt1 do begin BeginUpdate(); Columns.Add('Task'); with Chart do begin Bars.Add('Task:Split').Shortcut := 'Task'; FirstVisibleDate := '12/28/2000'; PaneWidth[False] := 48; AllowLinkBars := False; AllowCreateBar := EXG2ANTTLib.CreateBarEnum.exNoCreateBar; end; with Items do begin h1 := AddItem('Task 1'); AddBar(h1,'Task','1/2/2001','1/4/2001','K1',Nil); h2 := AddItem('Task 2'); AddBar(h2,'Task','1/2/2001','1/4/2001','K2',Nil); AddLink('L1',h1,'K1',h2,'K2'); h3 := AddItem('Task 3'); AddBar(h3,'Task','1/2/2001','1/6/2001','K3',Nil); AddLink('L2',h2,'K2',h3,'K3'); Link['L2',EXG2ANTTLib.LinkPropertyEnum.exLinkText] := 'FF'; Link['L2',EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos] := TObject(2); Link['L2',EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos] := TObject(2); h4 := AddItem('Task 4'); AddBar(h4,'Task','1/2/2001','1/4/2001','K4',Nil); AddLink('L3',h4,'K4',h3,'K3'); ItemBar[0,'<*>',EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount] := TObject(True); SchedulePDM(0,'K1'); end; EndUpdate(); end |
| 1087 |
How can I arrange automatically the bars based on their links as soon as user moves the bars
// BarResizing event - Occurs when a bar is moving or resizing. procedure TWinForm1.AxG2antt1_BarResizing(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_BarResizingEvent); begin with AxG2antt1 do begin Items.SchedulePDM(e.item,TObject(e.key)); end end; with AxG2antt1 do begin BeginUpdate(); Columns.Add('Task'); with Chart do begin FirstVisibleDate := '12/28/2000'; PaneWidth[False] := 48; AllowLinkBars := False; AllowCreateBar := EXG2ANTTLib.CreateBarEnum.exNoCreateBar; end; with Items do begin h1 := AddItem('Task 1'); AddBar(h1,'Task','1/2/2001','1/4/2001','K1',Nil); h2 := AddItem('Task 2'); AddBar(h2,'Task','1/2/2001','1/4/2001','K2',Nil); AddLink('L1',h1,'K1',h2,'K2'); h3 := AddItem('Task 3'); AddBar(h3,'Task','1/2/2001','1/6/2001','K3',Nil); AddLink('L2',h2,'K2',h3,'K3'); Link['L2',EXG2ANTTLib.LinkPropertyEnum.exLinkText] := 'FF'; Link['L2',EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos] := TObject(2); Link['L2',EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos] := TObject(2); h4 := AddItem('Task 4'); AddBar(h4,'Task','1/2/2001','1/4/2001','K4',Nil); AddLink('L3',h4,'K4',h3,'K3'); SchedulePDM(0,'K1'); end; EndUpdate(); end |
| 1086 |
How can I arrange automatically the bars based on their links as soon as user moves the bars
// BarResize event - Occurs when a bar is moved or resized. procedure TWinForm1.AxG2antt1_BarResize(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_BarResizeEvent); begin with AxG2antt1 do begin Items.SchedulePDM(e.item,TObject(e.key)); end end; with AxG2antt1 do begin BeginUpdate(); Columns.Add('Task'); with Chart do begin FirstVisibleDate := '1/1/2001'; PaneWidth[False] := 48; AllowLinkBars := False; AllowCreateBar := EXG2ANTTLib.CreateBarEnum.exNoCreateBar; end; with Items do begin h1 := AddItem('Task 1'); AddBar(h1,'Task','1/2/2001','1/4/2001','K1',Nil); h2 := AddItem('Task 2'); AddBar(h2,'Task','1/2/2001','1/4/2001','K2',Nil); AddLink('L1',h1,'K1',h2,'K2'); h3 := AddItem('Task 3'); AddBar(h3,'Task','1/2/2001','1/4/2001','K3',Nil); AddLink('L2',h2,'K2',h3,'K3'); SchedulePDM(0,'K1'); end; EndUpdate(); end |
| 1085 |
I have some buttons added on the control's scroll bar, how can I can know when the button is being clicked
// ScrollButtonClick event - Occurs when the user clicks a button in the scrollbar. procedure TWinForm1.AxG2antt1_ScrollButtonClick(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_ScrollButtonClickEvent); begin with AxG2antt1 do begin OutputDebugString( e.scrollBar ); OutputDebugString( e.scrollPart ); end end; with AxG2antt1 do begin set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB1Part,True); set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB2Part,True); set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exRightB6Part,True); set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exRightB5Part,True); ScrollBars := EXG2ANTTLib.ScrollBarsEnum.exDisableNoHorizontal; end |
| 1084 |
How do I get notified once the user clicks a hyperlink created using the anchor HTML tag
|
| 1083 |
Is it possible to start editing a cell when double click it
// DblClick event - Occurs when the user dblclk the left mouse button over an object. procedure TWinForm1.AxG2antt1_DblClick(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_DblClickEvent); begin with AxG2antt1 do begin Edit(Nil); end end; with AxG2antt1 do begin BeginUpdate(); AutoEdit := False; MarkSearchColumn := False; (Columns.Add('Edit1') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.EditType; (Columns.Add('Edit2') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.EditType; with Items do begin CellValue[TObject(AddItem(TObject(1))),TObject(1)] := TObject(2); end; with Items do begin CellValue[TObject(AddItem(TObject(3))),TObject(1)] := TObject(4); end; EndUpdate(); end |
| 1082 |
Is it possible to disable standard single-click behavior for this column, so I manually could call Edit() when needed
// DblClick event - Occurs when the user dblclk the left mouse button over an object. procedure TWinForm1.AxG2antt1_DblClick(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_DblClickEvent); begin with AxG2antt1 do begin Edit(Nil); end end; with AxG2antt1 do begin BeginUpdate(); AutoEdit := False; MarkSearchColumn := False; (Columns.Add('Edit1') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.EditType; (Columns.Add('Edit2') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.EditType; with Items do begin CellValue[TObject(AddItem(TObject(1))),TObject(1)] := TObject(2); end; with Items do begin CellValue[TObject(AddItem(TObject(3))),TObject(1)] := TObject(4); end; EndUpdate(); end |
| 1081 |
How can I get or restore the old or previously value for the cell being changed
// Change event - Occurs when the user changes the cell's content. procedure TWinForm1.AxG2antt1_Change(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_ChangeEvent); begin with AxG2antt1 do begin OutputDebugString( 'Old-Value:' ); OutputDebugString( Items.CellValue[TObject(e.item),TObject(e.colIndex)] ); OutputDebugString( 'New-Value:' ); OutputDebugString( e.newValue ); end end; with AxG2antt1 do begin BeginUpdate(); MarkSearchColumn := False; (Columns.Add('Edit1') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.EditType; (Columns.Add('Edit2') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.EditType; with Items do begin CellValue[TObject(AddItem(TObject(1))),TObject(1)] := TObject(2); end; with Items do begin CellValue[TObject(AddItem(TObject(3))),TObject(1)] := TObject(4); end; EndUpdate(); end |
| 1080 |
How can I display the number of items being found after filtering
// FilterChange event - Occurs when the filter was changed. procedure TWinForm1.AxG2antt1_FilterChange(sender: System.Object; e: System.EventArgs); begin with AxG2antt1 do begin FilterBarCaption := Items.VisibleCount; end end; with AxG2antt1 do begin BeginUpdate(); Chart.PaneWidth[True] := 0; ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAll; FilterBarPromptPattern := 'london'; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1079 |
How can I highligth the item from the cursor as it moves
// MouseMove event - Occurs when the user moves the mouse. procedure TWinForm1.AxG2antt1_MouseMoveEvent(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent); begin with AxG2antt1 do begin BeginUpdate(); h := get_ItemFromPoint(-1,-1,c,hit); with Items do begin ClearItemBackColor(AxG2antt1.Background[EXG2ANTTLib.BackgroundPartEnum($200 Or Integer(EXG2ANTTLib.BackgroundPartEnum.exHSRight) Or Integer(EXG2ANTTLib.BackgroundPartEnum.exListOLEDropPosition))]); ItemBackColor[h] := $f0faf0; end; set_Background(EXG2ANTTLib.BackgroundPartEnum($200 Or Integer(EXG2ANTTLib.BackgroundPartEnum.exHSRight) Or Integer(EXG2ANTTLib.BackgroundPartEnum.exListOLEDropPosition)),h); EndUpdate(); end end; with AxG2antt1 do begin BeginUpdate(); LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot; DrawGridLines := EXG2ANTTLib.GridLinesEnum.exHLines; SelBackColor := Color.FromArgb(240,250,240); SelForeColor := Color.FromArgb(0,0,0); ShowFocusRect := False; with Chart do begin SelBackColor := $f0faf0; end; Columns.Add('Items'); with Items do begin h := AddItem('R1'); InsertItem(h,Nil,'Cell 1.1'); InsertItem(h,Nil,'Cell 1.2'); ExpandItem[h] := True; h := AddItem('R2'); InsertItem(h,Nil,'Cell 2.1'); InsertItem(h,Nil,'Cell 2.2'); ExpandItem[h] := True; end; EndUpdate(); end |
| 1078 |
How can I get the item from the cursor
// MouseMove event - Occurs when the user moves the mouse. procedure TWinForm1.AxG2antt1_MouseMoveEvent(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent); begin with AxG2antt1 do begin h := get_ItemFromPoint(-1,-1,c,hit); OutputDebugString( 'Handle' ); OutputDebugString( h ); OutputDebugString( 'Index' ); OutputDebugString( Items.ItemToIndex[h] ); end end; with AxG2antt1 do begin BeginUpdate(); LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot; DrawGridLines := EXG2ANTTLib.GridLinesEnum.exHLines; Columns.Add('Items'); with Items do begin h := AddItem('R1'); InsertItem(h,Nil,'Cell 1.1'); InsertItem(h,Nil,'Cell 1.2'); ExpandItem[h] := True; h := AddItem('R2'); InsertItem(h,Nil,'Cell 2.1'); InsertItem(h,Nil,'Cell 2.2'); ExpandItem[h] := True; end; EndUpdate(); end |
| 1077 |
How can I get the column from the cursor, not only in the header
// MouseMove event - Occurs when the user moves the mouse. procedure TWinForm1.AxG2antt1_MouseMoveEvent(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent); begin with AxG2antt1 do begin OutputDebugString( get_ColumnFromPoint(-1,0) ); end end; with AxG2antt1 do begin BeginUpdate(); LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot; Columns.Add('P1'); Columns.Add('P2'); DrawGridLines := EXG2ANTTLib.GridLinesEnum.exAllLines; with Items do begin h := AddItem('R1'); CellValue[TObject(h),TObject(1)] := 'R2'; CellValue[TObject(InsertItem(h,Nil,'Cell 1.1')),TObject(1)] := 'Cell 1.2'; CellValue[TObject(InsertItem(h,Nil,'Cell 2.1')),TObject(1)] := 'Cell 2.2'; ExpandItem[h] := True; end; EndUpdate(); end |
| 1076 |
How can I get the column from the cursor
// MouseMove event - Occurs when the user moves the mouse. procedure TWinForm1.AxG2antt1_MouseMoveEvent(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent); begin with AxG2antt1 do begin OutputDebugString( get_ColumnFromPoint(-1,-1) ); end end; with AxG2antt1 do begin BeginUpdate(); LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot; DrawGridLines := EXG2ANTTLib.GridLinesEnum.exAllLines; Columns.Add('P1'); Columns.Add('P2'); with Items do begin h := AddItem('R1'); CellValue[TObject(h),TObject(1)] := 'R2'; CellValue[TObject(InsertItem(h,Nil,'Cell 1.1')),TObject(1)] := 'Cell 1.2'; CellValue[TObject(InsertItem(h,Nil,'Cell 2.1')),TObject(1)] := 'Cell 2.2'; ExpandItem[h] := True; end; EndUpdate(); end |
| 1075 |
How can I get the cell's caption from the cursor
// MouseMove event - Occurs when the user moves the mouse. procedure TWinForm1.AxG2antt1_MouseMoveEvent(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent); begin with AxG2antt1 do begin h := get_ItemFromPoint(-1,-1,c,hit); OutputDebugString( Items.CellCaption[TObject(h),TObject(c)] ); end end; with AxG2antt1 do begin BeginUpdate(); LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot; Columns.Add('Items'); with Items do begin h := AddItem('R1'); InsertItem(h,Nil,'Cell 1.1'); InsertItem(h,Nil,'Cell 1.2'); ExpandItem[h] := True; h := AddItem('R2'); InsertItem(h,Nil,'Cell 2.1'); InsertItem(h,Nil,'Cell 2.2'); ExpandItem[h] := True; end; EndUpdate(); end |
| 1074 |
Is it possible to change the style for the vertical or horizontal grid lines, in the list area
with AxG2antt1 do begin BeginUpdate(); DrawGridLines := EXG2ANTTLib.GridLinesEnum.exAllLines; GridLineStyle := Integer(EXG2ANTTLib.GridLinesStyleEnum.exGridLinesVSolid) Or Integer(EXG2ANTTLib.GridLinesStyleEnum.exGridLinesHDot4); Columns.Add('C1'); Columns.Add('C2'); Columns.Add('C3'); with Items do begin h := AddItem('Item 1'); CellValue[TObject(h),TObject(1)] := 'SubItem 1.2'; CellValue[TObject(h),TObject(2)] := 'SubItem 1.3'; h := AddItem('Item 2'); CellValue[TObject(h),TObject(1)] := 'SubItem 2.2'; CellValue[TObject(h),TObject(2)] := 'SubItem 2.3'; end; EndUpdate(); end |
| 1073 |
How can I show the bars over the grid lines, i.e. so you cannot see the grid lines 'through' the bar
|
| 1072 |
Is it possible to change the style for the vertical grid lines, in the chart area only
|
| 1071 |
Is it possible to change the style for the grid lines, for instance to be solid not dotted
|
| 1070 |
How can I show the grid lines for the chart and list area
|
| 1069 |
In the level of the chart we are showing the week number of the year (1-53) (Week: ww). However the weeknumber isn't correct. In western Europe the week of 04/01/2010 till 10/01/2010 is weeknumber 1, however the g2antt says it's week 2
|
| 1068 |
How can I determine the current visible date range of the gantt chart area
|
| 1067 |
How can I change the progress bar using a spin editor using values from 0 to 100
|
| 1066 |
Is it possible to display the histogram for selected bars only
|
| 1065 |
How can I fix a bar, so it is not selectable, moveable or resizable, fixed in other words
|
| 1064 |
How can I fix a bar, so it is not moveable or resizable
|
| 1063 |
Is is possible to fix a bar during PDM scheduling
|
| 1062 |
How can I specify that during scheduling the link, bars should be delayed, on working part
|
| 1061 |
How can I specify that during scheduling the link, bars should be delayed
|
| 1060 |
The SchedulePDM method put the bars on non-working part, how can I prevent that
|
| 1059 |
How can I add a SF (Start-Finish) link so activities get arranged using the SchedulePDM
|
| 1058 |
How can I add a SS (Start-Start) link so activities get arranged using the SchedulePDM
|
| 1057 |
How can I add a FF (Finish-Finish) link so activities get arranged using the SchedulePDM
|
| 1056 |
How can I add a FS (Finish-Start) link so activities get arranged using the SchedulePDM
|
| 1055 |
How can I schedule activities in the project plan
|
| 1054 |
How do I arrange the bars based on the links
|
| 1053 |
Is is possible to use HTML tags to display in the filter caption
with AxG2antt1 do begin BeginUpdate(); FilterBarPromptVisible := True; FilterBarCaption := 'This is a bit of text being displayed in the filter bar.'; Columns.Add(''); with Items do begin AddItem('Item 1'); AddItem('Item 2'); AddItem('Item 3'); end; EndUpdate(); end |
| 1052 |
How can I find the number of items after filtering
|
| 1051 |
How can I change the filter caption
with AxG2antt1 do begin BeginUpdate(); Chart.PaneWidth[True] := 0; ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := Integer(EXG2ANTTLib.FilterPromptEnum.exFilterPromptWords) Or Integer(EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAll); FilterBarPromptPattern := 'london robert'; FilterBarCaption := '<r>Found: ... '; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1050 |
While using the filter prompt is it is possible to use wild characters
with AxG2antt1 do begin BeginUpdate(); Chart.PaneWidth[True] := 0; ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := EXG2ANTTLib.FilterPromptEnum.exFilterPromptPattern; FilterBarPromptPattern := 'lon* seat*'; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1049 |
How can I list all items that contains any of specified words, not necessary at the beggining
with AxG2antt1 do begin BeginUpdate(); Chart.PaneWidth[True] := 0; ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := Integer(EXG2ANTTLib.FilterPromptEnum.exFilterPromptStartWords) Or Integer(EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAny); FilterBarPromptPattern := 'london davolio'; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1048 |
How can I list all items that contains any of specified words, not strings
with AxG2antt1 do begin BeginUpdate(); ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; Chart.PaneWidth[True] := 0; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := Integer(EXG2ANTTLib.FilterPromptEnum.exFilterPromptWords) Or Integer(EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAny); FilterBarPromptPattern := 'london nancy'; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1047 |
How can I list all items that contains all specified words, not strings
with AxG2antt1 do begin BeginUpdate(); Chart.PaneWidth[True] := 0; ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := Integer(EXG2ANTTLib.FilterPromptEnum.exFilterPromptWords) Or Integer(EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAll); FilterBarPromptPattern := 'london robert'; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1046 |
I've noticed that the filtering by prompt is not case sensitive, is is possible to make it case sensitive
with AxG2antt1 do begin BeginUpdate(); ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := Integer(EXG2ANTTLib.FilterPromptEnum.exFilterPromptCaseSensitive) Or Integer(EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAny); FilterBarPromptPattern := 'Anne'; Chart.PaneWidth[True] := 0; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1045 |
Is it possible to list only items that ends with any of specified strings
with AxG2antt1 do begin BeginUpdate(); ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := EXG2ANTTLib.FilterPromptEnum.exFilterPromptEndWith; FilterBarPromptColumns := '0'; FilterBarPromptPattern := 'Fuller'; Chart.PaneWidth[True] := 0; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1044 |
Is it possible to list only items that ends with any of specified strings
with AxG2antt1 do begin BeginUpdate(); ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := EXG2ANTTLib.FilterPromptEnum.exFilterPromptEndWith; FilterBarPromptColumns := '0'; FilterBarPromptPattern := 'Fuller'; Chart.PaneWidth[True] := 0; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1043 |
Is it possible to list only items that starts with any of specified strings
with AxG2antt1 do begin BeginUpdate(); ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := EXG2ANTTLib.FilterPromptEnum.exFilterPromptStartWith; FilterBarPromptColumns := '0'; FilterBarPromptPattern := 'An M'; Chart.PaneWidth[True] := 0; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1042 |
Is it possible to list only items that starts with specified string
with AxG2antt1 do begin BeginUpdate(); ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := EXG2ANTTLib.FilterPromptEnum.exFilterPromptStartWith; FilterBarPromptColumns := '0'; FilterBarPromptPattern := 'A'; Chart.PaneWidth[True] := 0; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1041 |
How can I specify that the list should include any of the seqeunces in the pattern
with AxG2antt1 do begin BeginUpdate(); ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAny; FilterBarPromptPattern := 'london seattle'; Chart.PaneWidth[True] := 0; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1040 |
How can I specify that all sequences in the filter pattern must be included in the list
with AxG2antt1 do begin BeginUpdate(); Chart.PaneWidth[True] := 0; ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptType := EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAll; FilterBarPromptPattern := 'london manager'; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1039 |
How do I change at runtime the filter prompt
with AxG2antt1 do begin BeginUpdate(); ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; Chart.PaneWidth[True] := 0; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptPattern := 'london manager'; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1038 |
How do I specify to filter only a single column when using the filter prompt
with AxG2antt1 do begin BeginUpdate(); ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; Chart.PaneWidth[True] := 0; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPromptColumns := '2,3'; FilterBarPromptPattern := 'london'; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; with Items do begin h0 := AddItem('Nancy Davolio'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Andrew Fuller'); CellValue[TObject(h0),TObject(1)] := 'Vice President, Sales'; CellValue[TObject(h0),TObject(2)] := 'Tacoma'; SelectItem[h0] := True; h0 := AddItem('Janet Leverling'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Kirkland'; h0 := AddItem('Margaret Peacock'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'Redmond'; h0 := AddItem('Steven Buchanan'); CellValue[TObject(h0),TObject(1)] := 'Sales Manager'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Michael Suyama'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Robert King'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; h0 := AddItem('Laura Callahan'); CellValue[TObject(h0),TObject(1)] := 'Inside Sales Coordinator'; CellValue[TObject(h0),TObject(2)] := 'Seattle'; h0 := AddItem('Anne Dodsworth'); CellValue[TObject(h0),TObject(1)] := 'Sales Representative'; CellValue[TObject(h0),TObject(2)] := 'London'; end; EndUpdate(); end |
| 1037 |
How do I change the prompt or the caption being displayed in the filter bar
with AxG2antt1 do begin BeginUpdate(); Chart.PaneWidth[True] := 0; ColumnAutoResize := True; ContinueColumnScroll := False; FocusColumnIndex := 1; MarkSearchColumn := False; SearchColumnIndex := 1; FilterBarPromptVisible := True; FilterBarPrompt := 'changed'; with Columns do begin (Add('Name') as EXG2ANTTLib.Column).Width := 96; (Add('Title') as EXG2ANTTLib.Column).Width := 96; Add('City'); end; EndUpdate(); end |
| 1036 |
How do I enable the filter prompt feature
|
| 1035 |
How can I unselect all bars
|
| 1034 |
Can I select bars using a pattern using wild characters as *,
|
| 1033 |
How can I select all bars in the item with a specified key
|
| 1032 |
How can I select all bars in the specified item
|
| 1031 |
How can I select all bars with a specified key
|
| 1030 |
How can I select all bars
|
| 1029 |
I have the AllowInsideZoom property on True, but I am still not able to use the inside zoom feature
|
| 1028 |
Is there any option to find out if two bars intersects
|
| 1027 |
How can I find if a specified hour is a working or non-working hour, when using the ItemNonWorkingUnits
|
| 1026 |
How can I find if a specified hour is a working or non-working hour
|
| 1025 |
How can I find if a specified date-time is a working or non-working unit, when using the ItemNonWorkingUnits
|
| 1024 |
How can I find if a specified date-time is a working or non-working unit
|
| 1023 |
When zooming to days, the non-working part of the chart occupies some not useful space. Can I reduce it
|
| 1022 |
My chart display only working hours, but when zooming to days, each day shows the non-working part of the day too, even if I use the ShowNonWorkingUnits property on False. What am I doing wrong
|
| 1021 |
I need to display only working hours and weekend part, but for some items I need another non-working part. Is this possible
|
| 1020 |
I can display the working hours, but how can I hide the weekend or non-working part of the chart when using the ShowNonWorkingUnits property on False
|
| 1019 |
How can I display only the working hours but uses less space for non-working part, such as weekend
|
| 1018 |
How can I display only the working hours but uses less space for non-working part, such as weekend
|
| 1017 |
How can I display only the working hours
|
| 1016 |
How can I specify non-working hours
|
| 1015 |
How can I display the working hours for a bar
|
| 1014 |
Is it possible to show only working hours, showing a small part for the weekend days, and in the same time showing the bars by splitting the non-working part and keeping the working units for the bar while moving
|
| 1013 |
How can I show bars with different solid color but black border
|
| 1012 |
I want to display a vertical line for each week, while I still need a vertical separator for each day. Is this possible
|
| 1011 |
How can I display the levels as year, day, AM and PM for each day
with AxG2antt1 do begin with Chart do begin PaneWidth[False] := 0; FirstVisibleDate := '12/1/2009'; UnitWidth := 22; LevelCount := 3; Level[0].Label := '<%yyyy%>'; Level[1].Label := '<%mm%>/<%dd%>'; with Level[2] do begin Label := '<%AM/PM%>'; Count := 12; end; end; end |
| 1010 |
How can I change the pattern for a specified time unit, in the chart area
|
| 1009 |
How can I hide the non-working hours, but still display the non-working days with even less space
|
| 1008 |
How can I hide the non-working hours, but still display the non-working days with less space
|
| 1007 |
How can I hide the non-working hours, but still display the non-working days
|
| 1006 |
How can I hide the non-working hours, and the non-working days
|
| 1005 |
Can I highlights the non-working hours while my chart shows days
|
| 1004 |
How can I reduce the space/area being occupied by non-working units days or hours (method 2)
|
| 1003 |
How can I reduce the space/area being occupied by non-working units days or hours (method 1)
|
| 1002 |
How can I hide the non-working units
|
| 1001 |
How can I determine that a certain bar is the topmost (zorder)
|


















































